package com.snake.springboot.authority.api.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="权限管理-操作员与角色关系的出参")
public class AuthOperatorRoleRsp {

    @ApiModelProperty(value="操作员ID")
    private String operatorId;

    @ApiModelProperty(value="角色ID")
    private String roleId;

    @ApiModelProperty(value="角色名称")
    private String roleName;

    @ApiModelProperty(value="角色权限码")
    private String roleCode;

    public AuthOperatorRoleRsp() {}

    public AuthOperatorRoleRsp(String operatorId, String roleId) {
        this.operatorId = operatorId;
        this.roleId = roleId;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    @Override
    public String toString() {
        return "AuthOperatorRoleRsp{" +
                "operatorId='" + operatorId + '\'' +
                ", roleId='" + roleId + '\'' +
                ", roleName='" + roleName + '\'' +
                ", roleCode='" + roleCode + '\'' +
                '}';
    }
}